package cn.zyq.demo.beans.sys;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;


/**
 * 角色和菜单关联表
 * 2023-05-12 20:14:09
 */
@Entity
@Table(name ="`sysRoleMenu`")
@Data
public class SysRoleMenu implements Serializable {

	private static final long serialVersionUID = 587996381172108733L;

	/**
	 * 角色ID
	 */
	@Column(name = "`sysRoleID`")
	@ApiModelProperty("角色ID")
	private Integer sysRoleID;

	/**
	 * 菜单ID
	 */
	@Column(name = "`sysMenuID`")
	@ApiModelProperty("菜单ID")
	private Integer sysMenuID;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
	@Column(name = "`sysRoleMenuID`")
	@ApiModelProperty("null")
	private Integer sysRoleMenuID;

}
